package meterMonitor.mapper;

import meterMonitor.model.DeviceInfoPO;
import meterMonitor.model.bo.RealtimeDeviceDataBO;

import java.util.List;

public interface DeviceInfoMapper {

    int addDeviceInfo(DeviceInfoPO deviceInfo);

    void deleteDeviceInfoById(DeviceInfoPO deviceInfo);

    int updateDeviceInfo(DeviceInfoPO deviceInfo);

    List<DeviceInfoPO> queryDeviceInfo(DeviceInfoPO deviceInfo);

    DeviceInfoPO getDeviceInfoById(Integer devId);

    int deleteDeviceInfo(int id);

    List<RealtimeDeviceDataBO> queryRealtimeDeviceDatas(Integer slotId);

}
